package com.yuan.rest.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author SiYuan
 * @Description :
 * @Date 2018/12/4 14:48
 */
@Controller
public class AdminController {
    /**
     * 返回后台页面
     * @return
     */
    @GetMapping("/admin")
    public String admin() {
        return "admin";
    }

}
